#version 460
#extension GL_GOOGLE_include_directive : enable
#extension GL_EXT_scalar_block_layout : enable




layout(location = 0) in vec3 inPos;
layout(location = 1) in uint inCol;



layout(location = 0) out uint vCol;
layout(location = 1) out uint vInstance;
//layout(location = 2) out uint vVertIndex;

out gl_PerVertex {
	vec4  gl_Position;
    float gl_PointSize;
};


void main(void){
    gl_Position = vec4(inPos, 1);
    vCol = inCol;

    vInstance = gl_InstanceIndex;
    //vVertIndex = gl_VertexIndex;
}







